#!/bin/bash
echo -e "stats\nquit" | nc <%= scope.lookupvar('zabbix::monitoring::memcached_mon::internal_address') %> 11211 | grep "STAT $1" | awk '{print $3}'